package deal;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class ClassModel {
      private  BufferedReader br = null;
      public ClassModel(String classPath){
            File file=new File(classPath);
            if(!file.exists()||file.isDirectory())
                  try {
                        throw new FileNotFoundException();
                  } catch (FileNotFoundException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                        return ;
                  }
           
            try {
                  br = new BufferedReader(new FileReader(file));
            } catch (FileNotFoundException e) {
                  // TODO Auto-generated catch block
                  e.printStackTrace();
            }
            String temp=null;
            StringBuffer sb=new StringBuffer();
            try {
                  temp=br.readLine();
            } catch (IOException e) {
                  // TODO Auto-generated catch block
                  e.printStackTrace();
            }
           
      }
      public static void main(String args[]){
            ClassModel A = new ClassModel("src/targetSource/souce1.java");
            
      }
      private class tryCatchBlock{
            private int tryLine;       //try line
            private int catchLine;  //caych line
            private int endTryLine;
            private int endCatchLine;
            
      }
      private class Method{    //to call method
            private String methodName;
            private int methodLine;  //called line
            
      }
}
